<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ page import="java.util.*"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>在线用户列表</title>
</head>
<body>
	<%=session.getAttribute("user_name")%>
	欢迎你的登录，你可以
	<a href="Logout.jsp">注销</a>。
	<h3>在线用户列表</h3>
	<hr>
	<%
		ArrayList<String> allUser = (ArrayList<String>) application
				.getAttribute("allUser");
		Iterator<String> iter = allUser.iterator();
		while (iter.hasNext()) {
			out.println("★" + iter.next() + "★&nbsp;&nbsp;&nbsp;");
		}
	%>
</body>
</html>
